﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Mvc.Html;
using System.Web.UI;
using System.Web.UI.WebControls;
using HTMLHelpers.Models;

namespace HTMLHelpers.Views.CustomHelpers
{
    public partial class CustomHelper : ViewPage<IList<Book>>
    {
        protected string WriteDetailsLink(Book book)
        {
            return Html.ActionLink("Details", "Details",
               new { id = book.Id });
        }
    }
}
